<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--
功能介绍：系统左边菜单栏
-->
<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>公文传输系统</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <script src="../script/jquery.slim.min.js" type="application/javascript"></script>
</head>
<body>
<div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
    <a class="nav-link" data-toggle="pill" href="#v-pills-settings" role="tab"
       aria-controls="v-pills-settings" aria-selected="false">
        <img src="../images/ico07.gif" class="rounded" alt="..." width="35" height="35">
        您好，<span class="left-font02">${realname}</span>
    </a>
    <a class="nav-link" id="v-pills-home-tab" data-toggle="pill" href="/fileweb/out_login.jsp" role="tab"
       aria-controls="v-pills-home" aria-selected="true" target="_top"><font color=#8b0000 face="楷体" >退出></font></a>
    <c:if test="${role==0}">
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/user/myupdate.jsp"
           role="tab"
           aria-controls="v-pills-profile" aria-selected="false" target="mainFrame"><font face="楷体">单位人员管理</font></a>
        <a class="nav-link" id="v-pills-messages-tab" data-toggle="pill" href="/fileweb/files/zuzhi/list.jsp" role="tab"
           aria-controls="v-pills-dept" aria-selected="false" target="mainFrame"><font face="楷体">组织管理</font></a>
        <a class="nav-link" id="v-pills-settings-tab" data-toggle="pill" href="/fileweb/files/department/list.jsp"
           role="tab"
           aria-controls="v-pills-company" aria-selected="false" target="mainFrame"><font face="楷体">单位管理</font></a>
        <a class="nav-link" id="v-pills-settings-tab" data-toggle="pill" href="/fileweb/files/filetype/list.jsp"
           role="tab"
           aria-controls="v-pills-settings" aria-selected="false" target="mainFrame"><font face="楷体">系统管理</font></a>
        <a class="nav-link" id="v-pills-settings-tab" data-toggle="pill" href="/fileweb/files/admin/list.jsp" role="tab"
           aria-controls="v-pills-admin" aria-selected="false" target="mainFrame"><font face="楷体">单位管理员管理</font></a>
        <a class="nav-link" id="v-pills-settings-tab" data-toggle="pill" href="/fileweb/files/file/log.jsp" role="tab"
           aria-controls="v-pills-logs" aria-selected="false" target="mainFrame"><font face="楷体">日志管理</font></a>
    </c:if>
    <c:if test="${role==1}">
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/user/myupdate.jsp"
           role="tab"
           aria-controls="v-pills-profile" aria-selected="false" target="mainFrame"><font face="楷体">人员管理</font></a>
        <a class="nav-link" id="v-pills-messages-tab" data-toggle="pill" href="/fileweb/files/user/list1.jsp" role="tab"
           aria-controls="v-pills-users" aria-selected="false" target="mainFrame"><font face="楷体">单位员工管理</font></a>
        <a class="nav-link" id="v-pills-messages-tab" data-toggle="pill" href="/fileweb/files/file/log.jsp" role="tab"
           aria-controls="v-pills-statistical" aria-selected="false" target="mainFrame"><font face="楷体">统计与报表</font></a>
    </c:if>
    <c:if test="${role==2}">
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/user/myupdate.jsp"
           role="tab"
           aria-controls="v-pills-profile" aria-selected="false" target="mainFrame"><font color="#8b0000" face="楷体">个人信息</font></a>
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/file/flist.jsp" role="tab"
           aria-controls="v-pills-file" aria-selected="false" target="mainFrame"><font color="#6a5acd" face="楷体">公文创建&发送</font></a>
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/file/tlist.jsp" role="tab"
           aria-controls="v-pills-tips" aria-selected="false" target="mainFrame"><font color="#ba55d3" face="楷体">公文提醒</font></a>
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/file/jlist.jsp" role="tab"
           aria-controls="v-pills-receipt" aria-selected="false" target="mainFrame"><font color="#008b8b" face="楷体">公文签收</font></a>
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/file/hlist.jsp" role="tab"
           aria-controls="v-pills-rollback" aria-selected="false" target="mainFrame"><font color="#f4a460" face="楷体">公文退送</font></a>
        <a class="nav-link" id="v-pills-profile-tab" data-toggle="pill" href="/fileweb/files/file/alllist.jsp"
           role="tab"
           aria-controls="v-pills-ask" aria-selected="false" target="mainFrame"><font color="#a0522d" face="楷体">数据统计</font></a>
    </c:if>
</div>
</body>
</html>
